package com.wwwarehouse.usercenter.bean.business_relationship;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xiaoke.ni on 2017/10/25.
 */

public class BRCustomerFileDetailBean {

    /**
     * buAddress : 测试内容7rm4
     * buArea : 测试内容1xq9
     * buCity : 测试内容9p2y
     * buContact : 测试内容a6nm
     * buId : 88417
     * buLatitudeLongitude : 测试内容hioq
     * buLogoUrl : 测试内容jldp
     * buName : 测试内容xj5o
     * buProvince : 测试内容2392
     * buStreet : 测试内容q5tu
     * otherSalesManNames : [{"salesManId":53268,"salesManName":"测试内容8872"}]
     * remark : 测试内容71h5
     * salesMans : [{"salesManId":47537,"salesManName":"测试内容3371"}]
     * tags : [{"tagId":50015,"tagName":"测试内容s3sd"}]
     */

    private String buAddress;
    private String buArea;
    private String buCity;
    private String buContact;
    private int buId;
    private String buLatitudeLongitude;
    private String buLogoUrl;
    private String buName;
    private String buProvince;
    private String buStreet;
    private String remark;
    private List<OtherSalesManNamesBean> otherSalesManNames;
    private List<SalesMansBean> salesMans;
    private ArrayList<TagsBean> tags;

    public String getBuAddress() {
        return buAddress;
    }

    public void setBuAddress(String buAddress) {
        this.buAddress = buAddress;
    }

    public String getBuArea() {
        return buArea;
    }

    public void setBuArea(String buArea) {
        this.buArea = buArea;
    }

    public String getBuCity() {
        return buCity;
    }

    public void setBuCity(String buCity) {
        this.buCity = buCity;
    }

    public String getBuContact() {
        return buContact;
    }

    public void setBuContact(String buContact) {
        this.buContact = buContact;
    }

    public int getBuId() {
        return buId;
    }

    public void setBuId(int buId) {
        this.buId = buId;
    }

    public String getBuLatitudeLongitude() {
        return buLatitudeLongitude;
    }

    public void setBuLatitudeLongitude(String buLatitudeLongitude) {
        this.buLatitudeLongitude = buLatitudeLongitude;
    }

    public String getBuLogoUrl() {
        return buLogoUrl;
    }

    public void setBuLogoUrl(String buLogoUrl) {
        this.buLogoUrl = buLogoUrl;
    }

    public String getBuName() {
        return buName;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    public String getBuProvince() {
        return buProvince;
    }

    public void setBuProvince(String buProvince) {
        this.buProvince = buProvince;
    }

    public String getBuStreet() {
        return buStreet;
    }

    public void setBuStreet(String buStreet) {
        this.buStreet = buStreet;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<OtherSalesManNamesBean> getOtherSalesManNames() {
        return otherSalesManNames;
    }

    public void setOtherSalesManNames(List<OtherSalesManNamesBean> otherSalesManNames) {
        this.otherSalesManNames = otherSalesManNames;
    }

    public List<SalesMansBean> getSalesMans() {
        return salesMans;
    }

    public void setSalesMans(List<SalesMansBean> salesMans) {
        this.salesMans = salesMans;
    }

    public ArrayList<TagsBean> getTags() {
        return tags;
    }

    public void setTags(ArrayList<TagsBean> tags) {
        this.tags = tags;
    }

    public static class OtherSalesManNamesBean {
        /**
         * salesManId : 53268
         * salesManName : 测试内容8872
         */

        private int salesManId;
        private String salesManName;

        public int getSalesManId() {
            return salesManId;
        }

        public void setSalesManId(int salesManId) {
            this.salesManId = salesManId;
        }

        public String getSalesManName() {
            return salesManName;
        }

        public void setSalesManName(String salesManName) {
            this.salesManName = salesManName;
        }
    }

    public static class SalesMansBean implements Parcelable{
        /**
         * salesManId : 47537
         * salesManName : 测试内容3371
         */

        private int salesManId;
        private String salesManName;

        public SalesMansBean() {
        }

        protected SalesMansBean(Parcel in) {
            salesManId = in.readInt();
            salesManName = in.readString();
        }

        public static final Creator<SalesMansBean> CREATOR = new Creator<SalesMansBean>() {
            @Override
            public SalesMansBean createFromParcel(Parcel in) {
                return new SalesMansBean(in);
            }

            @Override
            public SalesMansBean[] newArray(int size) {
                return new SalesMansBean[size];
            }
        };

        public int getSalesManId() {
            return salesManId;
        }

        public void setSalesManId(int salesManId) {
            this.salesManId = salesManId;
        }

        public String getSalesManName() {
            return salesManName;
        }

        public void setSalesManName(String salesManName) {
            this.salesManName = salesManName;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(salesManId);
            dest.writeString(salesManName);
        }
    }

    public class TagsBean implements Parcelable{
        /**
         * tagId : 50015
         * tagName : 测试内容s3sd
         */

        private String tagId;
        private String tagName;

        public TagsBean(){

        }

        protected TagsBean(Parcel in) {
            tagId = in.readString();
            tagName = in.readString();
        }


        public final Creator<TagsBean> CREATOR = new Creator<TagsBean>() {
            @Override
            public TagsBean createFromParcel(Parcel in) {
                return new TagsBean(in);
            }

            @Override
            public TagsBean[] newArray(int size) {
                return new TagsBean[size];
            }
        };

        public String getTagId() {
            return tagId;
        }

        public void setTagId(String tagId) {
            this.tagId = tagId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(tagId);
            dest.writeString(tagName);
        }
    }
}
